//
//  BSSettingTableViewCell.m
//  BS
//
//  Created by 王浩宇 on 15/8/20.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "BSSettingTableViewCell.h"
#import "BSUserSetting.h"

@implementation BSSettingTableViewCell
- (void)awakeFromNib {

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

- (IBAction)fontSizeSeg:(UISegmentedControl *)sender {
        BSUserSetting *settingDefault = [BSUserSetting userSettingManager];
    if (sender.selectedSegmentIndex == 0) {
        settingDefault.sizeFont = 14;
    }else if (sender.selectedSegmentIndex == 1){
        settingDefault.sizeFont = 17;
    }else{
        settingDefault.sizeFont = 20;
    }
}


@end
